import mx.utils.Delegate;import com.mixmedia.collection.List;import com.mixmedia.mx.events.MouseEvent;import com.mixmedia.view.ButtonClip;import com.mixmedia.view.collection.IListCell;import com.mixmedia.view.events.ButtonClipEvent;/** * @author colin */class CountryCell extends ButtonClip implements IListCell {	public static var IDENTIFIER:String = "CountryCell";	private var list:List;	private var model:String;	private var txt:TextField;		public function CountryCell() {		base.addEventListener(ButtonClipEvent.CLICK, Delegate.create(this,click));	}		public function setList(list : List) : Void {		this.list = list;	}		public function setModel(model : Object) : Void {		this.model = String(model);		txt.text = String(model);	}	public function getRowHeight() : Number {		return 13;	}		public function getColWidth() : Number {		return 150;	}		private function click():Void{		list.setValue(list.getItemIndex(model));	}}